﻿using Shinva.Variables.Interface;
using Shinva.Variables.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shinva.Variables.Type.bit
{
    public class PlcWord : PlcMemberBase

    {
        /// <summary>
        /// 16位无符号整数
        /// </summary>
        public ushort Value { get; set; }

        public PlcWord(){
            Value = 0;
            DataType = DataType.Word;
            Name = "Word";
            SizeInBits = 2 * 8;
        }



    }
}
